﻿@model SportsStore.Web.Models.ProductListViewModel

@{
    ViewBag.Title = "Products";
}
<h1>Products:</h1>

@foreach (var p in Model.Products)
{
    @Html.Partial("ProductSummary", p)
}


<div class="pager">
    @Html.PageLinks(Model.PagingInfo, x => Url.Action("List", new { page = x, category = Model.CurrentCategory}))
</div>
